/*******************************************************************************
 * Copyright (c) 2011 Olexandr V. Shaposhnikov.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    Olexandr V. Shaposhnikov - initial API and implementation and/or initial documentation
 *******************************************************************************/
package com.funkyroach.use.core.language;

import org.eclipse.dltk.core.AbstractLanguageToolkit;
import org.eclipse.dltk.core.IDLTKLanguageToolkit;

import com.funkyroach.use.plugin.USPlugin;

public class USLanguageToolkit extends AbstractLanguageToolkit {

    private static final String US_CONTENT_TYPE = "com.funkyroach.use.unrealScriptContentType"; // NON-NLS-1
    public static final String US_NAME = "Unreal Script"; // NON-NLS-1

    private static USLanguageToolkit s_Instance = new USLanguageToolkit();

    public static IDLTKLanguageToolkit getDefault() {
        return s_Instance;
    }

    public boolean languageSupportZIPBuildpath() {
        return false;
    }

    @Override
    public String getLanguageContentType() {
        return US_CONTENT_TYPE;
    }

    @Override
    public String getLanguageName() {
        return US_NAME;
    }

    @Override
    public String getNatureId() {
        return USNature.NATURE_ID;
    }

    public String getPreferenceQualifier() {
        return USPlugin.PLUGIN_ID;
    }

}
